package com.zhiyou100.javawebreview.jdbc.learn;

import java.io.Serializable;

/**
 * @packageName: Studnet
 * @className: com.zhiyou100.javawebreview.jdbc.learn
 * @Description: TODO Demo01 Studnet 实体类
 * @author: yang
 * @date: 7/14/20
 */


/**
 * 实体类要求：字段用包装类，实现 Serializable 接口
 */
public class Student implements Serializable {
    private int Integer;
    private String sname;
    private Character sex;
    private Integer sage;
    private Integer scid;

    public Student() {

    }

    @Override
    public String toString() {
        return "Student{" +
                "Integer=" + Integer +
                ", sname='" + sname + '\'' +
                ", sex=" + sex +
                ", sage=" + sage +
                ", scid=" + scid +
                '}';
    }

    public int getInteger() {
        return Integer;
    }

    public void setInteger(int integer) {
        Integer = integer;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Character getSex() {
        return sex;
    }

    public void setSex(Character sex) {
        this.sex = sex;
    }

    public java.lang.Integer getSage() {
        return sage;
    }

    public void setSage(java.lang.Integer sage) {
        this.sage = sage;
    }

    public java.lang.Integer getScid() {
        return scid;
    }

    public void setScid(java.lang.Integer scid) {
        this.scid = scid;
    }

    public Student(int integer, String sname, Character sex, java.lang.Integer sage, java.lang.Integer scid) {
        Integer = integer;
        this.sname = sname;
        this.sex = sex;
        this.sage = sage;
        this.scid = scid;
    }
}
